package com.lxj.service;

import com.lxj.domain.GroupMember;
import com.lxj.domain.User;

import java.util.List;
import java.util.Map;

public interface UserService {
    List<User> findAll(User user);

    int delete(Integer[] id);

    int edit(User user);

    User findById(Integer id);

    int getCount();

    List<User> findNoGroupUser();

    int selectUserId(String s);

    int deleteGroup(Integer id);

    int updateGroup(GroupMember groupMember);

    Map<String ,Object> login(User user);

    String getName(String token);

    User findByUserName(User user);
}
